package com.zzxy.po;

import java.util.Arrays;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

public class Student {
    private String username;
    private String password;
    private Integer age;

    private Address address;
    private Set<String> cars;
    private Map<String,String> infos;
    private Properties properties;
    private String[] members;

    @Override
    public String toString() {
        return "Student{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", age=" + age +
                ", address=" + address +
                ", cars=" + cars +
                ", infos=" + infos +
                ", properties=" + properties +
                ", members=" + Arrays.toString(members) +
                '}';
    }

    public String[] getMembers() {
        return members;
    }

    public void setMembers(String[] members) {
        this.members = members;
    }

    public Map<String, String> getInfos() {
        return infos;
    }

    public void setInfos(Map<String, String> infos) {
        this.infos = infos;
    }

    public Student(String username, String password, Integer age, Address address, Set<String> cars, Map<String, String> infes) {
        this.username = username;
        this.password = password;
        this.age = age;
        this.address = address;
        this.cars = cars;
        this.infos = infos;
    }

    public Map<String, String> getInfes() {
        return infos;
    }

    public void setInfes(Map<String, String> infes) {
        this.infos = infes;
    }

    public Set<String> getCars() {
        return cars;
    }

    public void setCars(Set<String> cars) {
        this.cars = cars;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Student() {
    }

    public Student(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public Student(String username, Integer age) {
        this.username = username;
        this.age = age;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
